"""
股票K线图模块化版本
面向对象的股票图表应用程序
"""

from .data_loader import DataLoader
from .candlestick_chart import CandlestickItem, CandlestickChart
from .volume_chart import VolumeChart
from .mouse_interaction import MouseInteraction, MouseInteractionManager
from .stock_chart_app import StockChartApp, create_stock_chart_app, run_stock_chart
from .multi_window_manager import MultiWindowManager, SingleStockWidget, MultiStockWindow, run_multi_stock_charts
from .moving_average import MovingAverageManager
from .quota.ma_slope_peaks import MovingAverageSlopePeaksManager

__version__ = "1.0.0"
__author__ = "Stock Chart Team"

__all__ = [
    # 核心类
    'DataLoader',
    'CandlestickItem',
    'CandlestickChart', 
    'VolumeChart',
    'MouseInteraction',
    'MouseInteractionManager',
    'StockChartApp',
    'MultiWindowManager',
    'SingleStockWidget',
    'MultiStockWindow',

    # 指标类
    'MovingAverageManager',
    'MovingAverageSlopePeaksManager',
    
    # 便捷函数
    'create_stock_chart_app',
    'run_stock_chart',
    'run_multi_stock_charts',
    
    # 配置类和实例
    'ChartConfig',
    'FeatureFlags',
    'config',
    'flags',
    
    # 配置函数
    'set_window_size',
    'set_candlestick_width',
    'set_color_scheme',
    'enable_feature',
    'set_debug_mode',
    'get_config',
    'get_flags',
    'print_config'
]
